export const tableOption = {
  "border": true,
  "index": true,
  "indexLabel": "序号",
  "stripe": true,
  "menuAlign": "center",
  "align": "center",
  "dialogClickModal": false,
  "searchMenuSpan": 6,
  "column": [
	  {
      "type": "input",
      "label": "编号",
      "prop": "planId",
      hide: true,
      addDisplay: false,
      editDisplay: false,
      "span": 12
    },	  {
      "type": "input",
      "label": "名称",
      "prop": "name",
      search: true,
      maxlength: 68,
      rules: [{
        required: true,
        message: "请输入名称",
      }],
      "span": 12
    },	  {
      "type": "select",
      "label": "群组",
      dicUrl: '/admin/sysgroup/page?size=-1',
      props: {
        label: 'name',
        value: 'groupId',
        res: "data.records"
      },
      rules: [{
        required: true,
        message: "请选择群组",
      }],
      "prop": "groupId",
      "span": 12
    },	  {
      "type": "select",
      "label": "群组成员",
      dicUrl: '/admin/sysgroup/user/page?size=-1',
      props: {
        label: 'realname',
        value: 'userId',
        res: "data.records"
      },
      rules: [{
        required: true,
        message: "请选择群组成员",
      }],
      formslot: true,
      slot: true,
      multiple: true,
      "prop": "handleList",
      "span": 12
    },	  {
      "type": "select",
      "label": "维保单位",
      dicUrl: '/act/maintenanceunit/page?size=-1',
      props: {
        label: 'name',
        value: 'unitId',
        res: "data.records"
      },
      rules: [{
        required: true,
        message: "请选择维保单位",
      }],
      "prop": "unitId",
      "span": 12
    },	  {
      "type": "select",
      "label": "负责人",
      "prop": "handleId",
      formslot: true,
      slot: true,
      rules: [{
        required: true,
        message: "请选择负责人",
      }],
      "span": 12
    },	  {
      "type": "date",
      "label": "计划日期",
      "prop": "planDate",
      format: 'yyyy-MM-dd',
      valueFormat: 'yyyy-MM-dd',
      rules: [{
        required: true,
        message: "请选择计划日期",
      }],
      "span": 12
    },	  {
      "type": "select",
      "label": "类型",
      "prop": "type",
      search: true,
      rules: [{
        required: true,
        message: "请选择类型",
      }],
      dicUrl: '/admin/dict/type/maintenance_plan_type',
      "span": 12
    },	  {
      "type": "switch",
      "label": "提醒开关",
      dicData:[{
        label:'关',
        value:'0'
      },{
        label:'开',
        value:'1'
      }],
      value:'1',
      "prop": "reminderSwitch",
      "span": 12
    },	  {
      "type": "textarea",
      "label": "备注",
      "prop": "remark",
      hide: true,
      maxlength: 256,
      "span": 24
    },	  {
      "type": "select",
      "label": "状态",
      "prop": "status",
      addDisplay: false,
      slot: true,
      editDisplay: false,
      dicUrl: '/admin/dict/type/done_status',
      "span": 12
    },	  {
      "type": "input",
      "label": "创建时间",
      "prop": "createTime",
      hide: true,
      editDisabled: true,
      addDisplay: false,
      "span": 12
    },	  {
      "type": "input",
      "label": "更新时间",
      "prop": "updateTime",
      hide: true,
      editDisabled: true,
      addDisplay: false,
      "span": 12
    }  ]
}
